/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package service.impl;

import eao.impl.AbstractFacade;
import eao.impl.CustomerFacade;
import javax.ejb.EJB;
import javax.ejb.Stateful;
import javax.ejb.Stateless;
import model.entity.Customer;
import eao.EaoLocal;
import service.InterfaceServiceLocal;

/**
 *
 * @author dingnangen
 */
@Stateless
public class CustomerManager extends AbstractService<Customer> implements InterfaceServiceLocal<Customer> {

    @EJB(beanName = "CustomerFacade")
    eao.EaoLocal<Customer> customerFacade;

    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
 

    @Override
    protected EaoLocal getEao() {
        return customerFacade;
    }

}
